/*
 * @Author: huangwei
 * @Date: 2021-05-21 15:25:18
 * @LastEditors: 黄威
 * @LastEditTime: 2022-01-10 09:48:54
 * @Description: 请求服务，根据axios进行封装
 */

import axios, { AxiosInstance } from 'axios'
// @ts-ignore
import request, { getToken } from '@mgs/utils/request'

const pureRequest = axios.create()
export { pureRequest, getToken }

export default request as AxiosInstance
